<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
var src1 = "../"+"images/public/1.jpg";
<img src= "" alt="">
</body>
<script>

</script>
</html>